how to test java code in intellij